#include <stdio.h>

#define ONE 0x1
#define TWO 0x2
#define TREE 0x4
#define FOUR 0x8
#define FIVE 0x10

void Print(int flag)
{
  if(flag & ONE) printf("hello 1\n");
  if(flag & TWO)  printf("hello 2\n");
  if(flag & TREE) printf("hello 3\n");
  if(flag & FOUR) printf("hello 4\n");
  if(flag & FIVE) printf("hello 5\n");
}

int main()
{
  
  printf("------------------------------\n");
  Print(ONE);
  
  printf("------------------------------\n");
  Print(ONE|TWO);

  printf("------------------------------\n");
  Print(ONE|TWO|TREE);

  printf("------------------------------\n");
  Print(ONE|TWO|TREE|FOUR);

  printf("------------------------------\n");
  Print(ONE|TWO|TREE|FOUR|FIVE);

  return 0;
}
